package com.koron.common.core.business.datadict.bean.query;

import com.koron.bean.base.BaseQueryBean;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class SysDataDictQuery extends BaseQueryBean {

    @NotBlank(message = "id不能为空")
    @ApiModelProperty(value = "id")
    private String id;

    @NotBlank(message = "所属数据字典分类ID不能为空")
    @ApiModelProperty(value = "所属数据字典分类ID")
    private String classifyId;

    @NotBlank(message = "数据字典名称不能为空")
    @ApiModelProperty(value = "数据字典名称")
    private String name;

    @NotBlank(message = "数据字典编码不能为空")
    @ApiModelProperty(value = "数据字典编码")
    private String code;

    @ApiModelProperty(value = "更新用户id")
    private String updateUserId;

}
